// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import $ from 'jquery'
import './assets/js/bootstrap.min.js'
import './assets/css/bootstrap.min.css'
import './assets/css/font-awesome.min.css'
import './assets/css/nouislider.min.css'
import './assets/css/slick.css'
import './assets/css/style.css'
import './assets/js/jquery.min.js'
import './assets/js/slick.min.js'
import './assets/js/nouislider.min.js'
import getUser from './assets/js/mainUse.js'
Vue.config.productionTip = false
router.afterEach((to,from,next) => {
  window.scrollTo(0,0);

});
Vue.prototype.$axios = axios;
// 正式
axios.defaults.baseURL = 'http:192.168.0.128:3001';
//axios.defaults.baseURL = 'http://192.168.0.128:3001';


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
